<template>
	<view>
		<page-head :title="'合伙人'" :headtype="2"></page-head>
		<view class="dec marginAuto">
			<view class="dectitle">合伙人说明</view>
			<view class="decmsg">
				<u-parse :content="content"></u-parse>
			</view>
		</view>
		<view class="enter marginAuto" style="margin-top:100rpx;">
			<u-button open-type="contact" @contact="contactfun" class="enter marginAuto" color="#B9180C" text="联系客服"
			:customStyle="{
				borderRadius:'20rpx',
				}"
			></u-button>
		</view>
		<view class="conapply">联系平台客服申请成为合伙人</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				content:''
			};
		},
		onLoad() {
			this.initData()
		},
		methods: {
			contactfun(){
				
			},
			initData(){
				let sendData = {
					field:'partner_description'
				};
				this.apifun.unirequest('/api/index/getConfigInfo','post',sendData,(res)=>{
					// console.log(res)
					if(res.code === 200){
						let datas = res.data;
						this.content = datas;
					}else{
						this.apifun.toast(res.msg)
					}
				})
			}
		},
	};
</script>

<style scoped lang="scss">
	.dec{
		width: 688rpx;
		.dectitle{
			margin: 30rpx auto;
			font-size: 30rpx;
			color: #333333;
		}
		.decmsg{
			font-size: 30rpx;
			color: #666666;
			line-height: 44rpx;
		}
	}
	.enter{
		width:600rpx;
		height: 90rpx;
		line-height: 90rpx;
		border-radius:20rpx;
		color: #fff;
	}
	.conapply{
		margin: 26rpx auto;
		line-height: 44rpx;
		color:#9E9E9E;
		font-size: 24rpx;
		text-align: center;
	}
</style>